//
//  GetMyMeeting.swift
//  CleanArchitecture
//
//  Created by siri on 2024/11/6.
//  用例类 与视图层进行交互


import Combine

protocol GetMyMeeting {
    var myMeetingGateway: MyMeetingGatewayProtocol { get }
}

extension GetMyMeeting
{
    func getMyMonthMeeting(appointDate:String) -> AnyPublisher<Res<MyMonthMeetingsOutVO>, Error> {
        myMeetingGateway.getMyMonthMeeting(appointDate: appointDate)
    }
    
    func getMyDayMeeting(appointDate:String) -> AnyPublisher<Res<MyDayMeetingsOutVO>, Error> {
        myMeetingGateway.getMyDayMeeting(appointDate: appointDate)
    }
}
